package com.example.backend.entity;

import lombok.Data;

import java.sql.Timestamp;

@Data
public class Comment {
    private Integer cid = -1;
    private String pid;
    private String content;
    private String username;
    private Timestamp created_at;

    public Comment(String pid, String content, String username, Timestamp created_at) {
        this.pid = pid;
        this.content = content;
        this.username = username;
        this.created_at = created_at;
    }
}
